package com.xh.easyretry.strategy.time;

import com.xh.easyretry.common.XHRetryContext;
import com.xh.easyretry.common.XHTimeAvoidanceContext;

public interface TimeAvoidanceStrategy {

    String getStrategy();

    XHTimeAvoidanceContext start(XHRetryContext retryContext);

    long calculateDelayTime(XHRetryContext retryContext);
}
